package mk.com.ldm.corepoint.implementation.shared;

import java.io.Serializable;

@SuppressWarnings("serial")
public class ListRow implements Serializable{
	/**
	 * @param Header
	 */
	private String hdr;
	/**
	 * @param Alignment
	 */
	private int ali;
	/**
	 * @param Width
	 */
	private int wid;
	/**
	 * @param DataBase Column name
	 */
	private String dbn;
	/**
	 * @param Visible
	 */
	private int vis;
	/**
	 * @param Filter
	 */
	private String fil;
	/**
	 * @param Foreign Key Table
	 */
	private String fkt;
	
	public ListRow(){}
	
	/**
	 * Specifies the columns from database needed to create the list
	 * 
	 * @param hdr - Header
	 * @param ali - Alignment
	 * @param wid - Width
	 * @param dbn - DataBase column name
	 * @param vis - Visible
	 * @param fil - Filter
	 * @param fkt - Foreign Key Table (tablename/tablealias/joincolumn/selectcolumn)
	 */
	public ListRow(String hdr, int ali, int wid, String dbn, int vis, String fil,
			String fkt) {
		super();
		this.hdr = hdr;
		this.ali = ali;
		this.wid = wid;
		this.dbn = dbn;
		this.vis = vis;
		this.fkt = fkt;
		this.fil = fil;
	}


	public String getHdr() {
		return hdr;
	}


	public void setHdr(String hdr) {
		this.hdr = hdr;
	}


	public int getAli() {
		return ali;
	}


	public void setAli(int ali) {
		this.ali = ali;
	}


	public int getWid() {
		return wid;
	}


	public void setWid(int wid) {
		this.wid = wid;
	}


	public String getDbn() {
		return dbn;
	}


	public void setDbn(String dbn) {
		this.dbn = dbn;
	}


	public int getVis() {
		return vis;
	}


	public void setVis(int vis) {
		this.vis = vis;
	}


	public String getFil() {
		return fil;
	}


	public void setFil(String fil) {
		this.fil = fil;
	}

	public String getFkt() {
		return fkt;
	}


	public void setFkt(String fkt) {
		this.fkt = fkt;
	}
	
	
}